<?php
/**
 * Created by PhpStorm.
 * User: 徐嘉宾
 * Date: 2016/8/11
 * Time: 20:55
 */
$this->registerCssFile('@web/css/backstage.css',['depends'=>['app\assets\AppAsset']]);
$this->registerJsFile('@web/js/gettype3.js',['depends'=>['app\assets\AppAsset']]);
// var_dump($admininfo);die;
?>
<div class="main">
    <!--右侧内容-->
    <div class="cont">
        <div class="title">二级分类概况</div>
        <div class="details">
            <div class="details_operation clearfix">
                <div class="bui_select">
<!--                    <input type="button" value="添&nbsp;&nbsp;加" class="add" onclick="location.href='./?r=admin/class2add'">-->
                </div>
                <div class="fr">
                    <div class="text">
                        <span>日期：</span>
                        <div class="bui_select">
                            <select name="" id="" class="select">
                                <option value="1"><?= date("Y-m-d "); ?></option>
                            </select>
                        </div>
                    </div>
                    <div class="text">
                        <span></span>
                        <div class="bui_select">
                            <select name="" id="" class="select">
                                <option value="1">Never put off what you can do today until tomorrow.</option>
                            </select>
                        </div>
                    </div>
                    <div class="text">
                        <span></span>
<!--                        <input type="text" value="" class="search">-->
                    </div>
                </div>
            </div>
            <table class="table" cellspacing="0" cellpadding="0">
                <thead>
                <tr>
                    <th width="15%">name</th>
                    <th width="25%">一级分类</th>
                </tr>
                </thead>
                <tbody>
                <form action="" method="post">
                <input name="_csrf" type="hidden" id="_csrf" value="<?= Yii::$app->request->csrfToken ?>">
                <tr>
                    <td><input type="text" placeholder="新加分类名" name="name"></td>
                    <td>
                        <select name="class1" id="class1">
                        </select>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center">
                        <input type="submit" class="btn" value="提交">
                        <input type="reset" class="btn">
                    </td>
                </tr>
                </form>
                </tbody>
            </table>
        </div>
    </div>
</div>